class Course extends Activity{
    int seats
    int startHour
    int endHour
    Date date
    String level


    static constraints = {
        level(inList:["Basic","Advanced","Administrator"],nullable:true)
        date(nullable:true)
        startHour(nullable:true)
        endHour(nullable:true)
        seats(nullable:true)
    }

    public Float calcTotalCost(){
        return 100.00;
    }
    public Float calcTotalIncome(){
        return 0.0
    }

    public void addEmployee(Employee e){
        
    }

}
